
import request from "@/utils/request.js";
export const Regetorders = (id) => request.get('/takeOrders/' + id)
export const Regetorder = (data) => request.get('/takeOrders', { params: data })
export const RegefahupOrdere = (id,data) => request.put('/takeOrders/' + id, { expressParams: data })

export const centelOrder = (id,data) => request.get('/takeOrders/cancel/' + id,data )

export const commonExpress = () => request.get('/common/express')